package com.grandtech.insurance.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 客户校验统计表
 */
public class DbKhyztj implements Serializable {
    /**
     * 主键id
     */
    private String id;

    /**
     * 项目编码
     */
    private String xmbm;

    /**
     * 区划代码
     */
    private String qhdm;

    /**
     * 区划名称
     */
    private String qhmc;

    /**
     * 客户姓名
     */
    private String name;

    /**
     * 身份证号
     */
    private String idcode;

    /**
     * 种养类型（1种植2养殖）
     */
    private String zytype;
    private String zyty;
    private String zyxx;

    /**
     * 验证数量
     */
    private Integer yzsl;

    /**
     * 验证时间
     */
    private Date yzsj;
    private String yzsjtime;
    private String yzsjstart;
    private String yzsjend;

    private Date sbsj;
    private String sbsjtime;
    private String sbsjstart;
    private String sbsjend;

    private BigDecimal zzslstart;
    private BigDecimal zzslend;
    private int yzslstart;
    private int yzslend;

    /**
     * 差异数量
     */
    private Integer cysl;

    /**
     * 状态
     */
    private Integer state;
    private String statename;

    /**
     * 年份
     */
    private String nf;
    //客户种养种类
    private String khzytype;


    //关系代码
    private String gxdm;

    private String glnhdm;
    private String nhxm;
    private String nhdm;

    public String getGlnhdm() {
        return glnhdm;
    }

    public void setGlnhdm(String glnhdm) {
        this.glnhdm = glnhdm;
    }

    public String getNhxm() {
        return nhxm;
    }

    public void setNhxm(String nhxm) {
        this.nhxm = nhxm;
    }

    public String getNhdm() {
        return nhdm;
    }

    public void setNhdm(String nhdm) {
        this.nhdm = nhdm;
    }

    public String getGxdm() {
        return gxdm;
    }

    public void setGxdm(String gxdm) {
        this.gxdm = gxdm;
    }

    public String getKhzytype() {
        return khzytype;
    }

    public void setKhzytype(String khzytype) {
        this.khzytype = khzytype;
    }

    public String getZyxx() {
        return zyxx;
    }

    public void setZyxx(String zyxx) {
        this.zyxx = zyxx;
    }

    public String getYzsjtime() {
        return yzsjtime;
    }

    public void setYzsjtime(String yzsjtime) {
        this.yzsjtime = yzsjtime;
    }

    public String getSbsjtime() {
        return sbsjtime;
    }

    public void setSbsjtime(String sbsjtime) {
        this.sbsjtime = sbsjtime;
    }

    public String getStatename() {
        return statename;
    }

    public void setStatename(String statename) {
        this.statename = statename;
    }

    public String getZyty() {
        return zyty;
    }

    public void setZyty(String zyty) {
        this.zyty = zyty;
    }

    public String getYzsjstart() {
        return yzsjstart;
    }

    public void setYzsjstart(String yzsjstart) {
        this.yzsjstart = yzsjstart;
    }

    public String getYzsjend() {
        return yzsjend;
    }

    public void setYzsjend(String yzsjend) {
        this.yzsjend = yzsjend;
    }

    public Date getSbsj() {
        return sbsj;
    }

    public void setSbsj(Date sbsj) {
        this.sbsj = sbsj;
    }

    public String getSbsjstart() {
        return sbsjstart;
    }

    public void setSbsjstart(String sbsjstart) {
        this.sbsjstart = sbsjstart;
    }

    public String getSbsjend() {
        return sbsjend;
    }

    public void setSbsjend(String sbsjend) {
        this.sbsjend = sbsjend;
    }

    public BigDecimal getZzslstart() {
        return zzslstart;
    }

    public void setZzslstart(BigDecimal zzslstart) {
        this.zzslstart = zzslstart;
    }

    public BigDecimal getZzslend() {
        return zzslend;
    }

    public void setZzslend(BigDecimal zzslend) {
        this.zzslend = zzslend;
    }

    public int getYzslstart() {
        return yzslstart;
    }

    public void setYzslstart(int yzslstart) {
        this.yzslstart = yzslstart;
    }

    public int getYzslend() {
        return yzslend;
    }

    public void setYzslend(int yzslend) {
        this.yzslend = yzslend;
    }

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getXmbm() {
        return xmbm;
    }

    public void setXmbm(String xmbm) {
        this.xmbm = xmbm;
    }

    public String getQhdm() {
        return qhdm;
    }

    public void setQhdm(String qhdm) {
        this.qhdm = qhdm;
    }

    public String getQhmc() {
        return qhmc;
    }

    public void setQhmc(String qhmc) {
        this.qhmc = qhmc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcode() {
        return idcode;
    }

    public void setIdcode(String idcode) {
        this.idcode = idcode;
    }

    public String getZytype() {
        return zytype;
    }

    public void setZytype(String zytype) {
        this.zytype = zytype;
    }

    public Integer getYzsl() {
        return yzsl;
    }

    public void setYzsl(Integer yzsl) {
        this.yzsl = yzsl;
    }

    public Date getYzsj() {
        return yzsj;
    }

    public void setYzsj(Date yzsj) {
        this.yzsj = yzsj;
    }

    public Integer getCysl() {
        return cysl;
    }

    public void setCysl(Integer cysl) {
        this.cysl = cysl;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getNf() {
        return nf;
    }

    public void setNf(String nf) {
        this.nf = nf;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DbKhyztj other = (DbKhyztj) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getXmbm() == null ? other.getXmbm() == null : this.getXmbm().equals(other.getXmbm()))
                && (this.getQhdm() == null ? other.getQhdm() == null : this.getQhdm().equals(other.getQhdm()))
                && (this.getQhmc() == null ? other.getQhmc() == null : this.getQhmc().equals(other.getQhmc()))
                && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
                && (this.getIdcode() == null ? other.getIdcode() == null : this.getIdcode().equals(other.getIdcode()))
                && (this.getZytype() == null ? other.getZytype() == null : this.getZytype().equals(other.getZytype()))
                && (this.getYzsl() == null ? other.getYzsl() == null : this.getYzsl().equals(other.getYzsl()))
                && (this.getYzsj() == null ? other.getYzsj() == null : this.getYzsj().equals(other.getYzsj()))
                && (this.getCysl() == null ? other.getCysl() == null : this.getCysl().equals(other.getCysl()))
                && (this.getState() == null ? other.getState() == null : this.getState().equals(other.getState()))
                && (this.getNf() == null ? other.getNf() == null : this.getNf().equals(other.getNf()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getXmbm() == null) ? 0 : getXmbm().hashCode());
        result = prime * result + ((getQhdm() == null) ? 0 : getQhdm().hashCode());
        result = prime * result + ((getQhmc() == null) ? 0 : getQhmc().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getIdcode() == null) ? 0 : getIdcode().hashCode());
        result = prime * result + ((getZytype() == null) ? 0 : getZytype().hashCode());
        result = prime * result + ((getYzsl() == null) ? 0 : getYzsl().hashCode());
        result = prime * result + ((getYzsj() == null) ? 0 : getYzsj().hashCode());
        result = prime * result + ((getCysl() == null) ? 0 : getCysl().hashCode());
        result = prime * result + ((getState() == null) ? 0 : getState().hashCode());
        result = prime * result + ((getNf() == null) ? 0 : getNf().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", xmbm=").append(xmbm);
        sb.append(", qhdm=").append(qhdm);
        sb.append(", qhmc=").append(qhmc);
        sb.append(", name=").append(name);
        sb.append(", idcode=").append(idcode);
        sb.append(", zytype=").append(zytype);
        sb.append(", yzsl=").append(yzsl);
        sb.append(", yzsj=").append(yzsj);
        sb.append(", cysl=").append(cysl);
        sb.append(", state=").append(state);
        sb.append(", nf=").append(nf);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}